package com.zzyl.mapper;

import com.zzyl.entity.NursingPlanProject;
import com.zzyl.vo.NursingPlanProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanProjectMapper {
    //根据计划id查询
    List<NursingPlanProjectVo> findByPlanId(Long planId);

    //根据计划id删除
    void deleteByPlanId(Long planId);

    //批量保存
    void save(List<NursingPlanProject> NNP);
}
